#define _CRT_SECURE_NO_WARNINGS 
#include <stdio.h>

int main()
{
    char a;
    double b, c;
    while (~scanf("%f %c %f", &b, &a, &c))
    {
        if (a != '+' && a != '-' && a != '*' && a != '/')
        {
            printf("Invalid operation!\n");
        }
        else
        {
            if (a == '/')
            {
                if (c == 0)
                {
                    printf("Wrong!Division by zero!\n");
                }
                else
                {
                    printf("%.4f%c%.4f=%.4f", b, a, c, b / c);
                }
            }
            else if (a == '+')
                printf("%.4lf%c%.4lf=%.4lf\n", b, a, c, b + c);
            else if (a == '-')
                printf("%.4lf%c%.4lf=%.4lf\n", b, a, c, b - c);
            else
                printf("%.4lf%c%.4lf=%.4lf\n", b, a, c, b * c);
        }
    }
    return 0;
}